<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace Member\Logic;
use Think\Model;

/**
 * 用户模型
 */
class MemberLogic extends Model{

	/* 自动验证规则 */
	protected $_validate = array(
			
	);

	/* 自动完成规则 */
	protected $_auto = array();

	public function users(){
	    
	}
	
	
	/**
	 * 获取用户信息
	 */
	public function info($uid){
	    $map = array(
	        'uid'=>$uid,
	    );
	    
	    return $this->field(true)->where($map)->find();
	    
	}
	

}
